package com.program.facesigninsystem.dao;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface IExamResultDao {

    void insertResult(@Param("uid")String uid,
                      @Param("result")String result,
                      @Param("reason")String reason,
                      @Param("examTime")String examTime
    );

    List<Map<String,Object>> selectResultList(@Param("uid")String uid);

    void updateIsRead(@Param("uid")String uid, @Param("id")int id);
}
